<template>
  <system-index @menu-change="menuChange" @to-main-page="toMainPage">
    <personal-center ref="sysComp" @to-page="toPage"></personal-center>
  </system-index>
</template>

<script>
  import SystemIndex from 'views/systemIndex';
  import PersonalCenter from 'views/personalCenter';

  import mpMixins from '../mpMixins';
  import mainPageMixins from '../mainPageMixins';

  export default {
    mixins: [mpMixins, mainPageMixins],

    data() {
      return {};
    },

    created() {
      wx.hideShareMenu();
    },

    components: {
      SystemIndex,
      PersonalCenter
    }
  };

</script>
